<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>标签管理</title>
    <link type="text/css" rel="stylesheet" href="http://127.0.0.1/cms/cms/Static/hdjs/hdjs.css"/>
    <script type="text/javascript" src="http://127.0.0.1/cms/cms/Static/js/jq.js"></script>
    <script type="text/javascript" src="http://127.0.0.1/cms/cms/Static/hdjs/hdjs.js"></script>
    <script type="text/javascript" src="http://127.0.0.1/cms/cms/Application/Admin/View/Tag/js/js.js"></script>
    <script>
    	var APP = 'http://127.0.0.1/cms/cms/index.php/Admin/Tag';
    </script>
    <style type="text/css">
    
        /*修改按钮*/
       .table2 tr td{
            height: 35px;
        }
        input[type="text"]{
            background-color: #FFFFFF;
            border: 2px solid #DDDDDD;
            border-radius: 0;
            box-shadow: 2px 2px 2px #F0F0F0 inset !important;
            color: #555555;
            display: inline-block;
            font-size: 12px;
            line-height: 30px;
            margin: 0;
            padding: 0 6px;
            vertical-align: middle;
            height: 30px;
        }
        input[type="text"]:focus{
            background: none repeat scroll 0 0 #FFFBDE;
            border: 2px solid #51B4FF;
            box-shadow: none !important;
            outline: 1px solid #51B4FF;
        }
    </style>
</head>
<body>
<div class="wrap">
	
<div class="hd-title-header">
   标签列表     双击标签名进行修改~！
</div>

    <table class="hd-table hd-table-list">
        <thead>
        <tr>
            <td width="30">id</td>
            <td>标签名</td>
            <td width="200">操作 </td>
        </tr>
        </thead>
        <tbody>
        	<?php foreach ($tags as $key=>$tag){?>
            <tr>
                <td width="30"><?php echo $tag['tid'];?></td>
                <td class="tagname" data-tid="<?php echo $tag['tid'];?>"><?php echo $tag['tagname'];?></td>
                <td width="200">
                	<a href="javascript:;" data-tid="<?php echo $tag['tid'];?>" class="hd-btn hd-btn-danger hd-btn-xm deltag" style="margin:0px;">删除</a>
                </td>
            </tr>
            <?php }?>
        </tbody>
    </table>
    <div class="hd-page">
        <?php echo $page;?>
    </div>
</div>

</body>
</html>


